﻿using PCBase.UIControls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VisionCore
{
    public class PRM_LaserST
    {
        [DisplayName("工位1点"), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public double LaserST_First { get; set; } = 0;
        
        public override string ToString()
        {
            return "...";
        }


    }
    public class PRM_LaserPos
    {
        [DisplayName("Laser点"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public Laser_Point Laser { get; set; } = new Laser_Point();

        public override string ToString()
        {
            return "...";
        }

        public class Laser_Point
        {
            public double X { get; set; }
            public double Y { get; set; }
            public double Z { get; set; }

            public Laser_Point()
            {
                X = 0;
                Y = 0;
                Z = 0;
            }

            public override string ToString()
            {
                return "...";
            }
        }
    }
    public class PRM_LaserPosOffset
    {
        [DisplayName("01.载入移载1"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public Laser_Point LDTR1 { get; set; } = new Laser_Point();

        [DisplayName("02.载入移载2"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public Laser_Point LDTR2 { get; set; } = new Laser_Point();

        public override string ToString()
        {
            return "...";
        }

        public class Laser_Point
        {
            public double X { get; set; }
            public double Y { get; set; }
            public double Z { get; set; }

            public Laser_Point()
            {
                X = 0;
                Y = 0;
                Z = 0;
            }

            public override string ToString()
            {
                return "...";
            }
        }
    }
}

